package spring.framework.beans.factory;

import spring.framework.beans.BeansException;

import java.util.Map;

/**
 * @author fun.pengzh
 * @class spring.framework.beans.factory.ListableBeanFactory
 * @desc BeanFactory拓展，可枚举Bean实例的接口
 * @since 2021-10-10
 */
public interface ListableBeanFactory extends BeanFactory{

    <T> Map<String,T> getBeansOfType(Class<T> type) throws BeansException;

    String[] getBeanDefinitionNames();

}
